import Vue from 'vue'
export default {
    namespaced :true,
    state:() => {
        return {
            list:{

            }
        }
    },
    mutations :{
        productionList(state , payload){
            // state.list[payload.id] = payload.shop
            Vue.set(state.list, payload.id, payload.shop)
        }
    },
    getters:{
        returnList(state){
            return state.list
        }
    },
    actions :{
        setList({commit} , payload){
            commit('productionList' , payload)
        }
    },
}